
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<div th:replace="public/back_baselayout :: html"></div>


</head>

<body>




<!-- 页面加载 -->
<div id="loader-wrapper">
    <div id="loader"></div>
    <div class="loader-section section-left"></div>
    <div class="loader-section section-right"></div>
</div>
<!-- 页面加载结束 -->

<!-- //////////////////////////////////////////////////////////////////////////// -->

<div th:replace="public/backheader :: html"></div>

<!-- //////////////////////////////////////////////////////////////////////////// -->

<!-- 主内容区域 -->
<div id="main">
    <!-- START WRAPPER -->
    <div class="wrapper">
        <!--引入左边栏区域-->
        <div th:replace="public/left-aside :: html"></div>

        <!-- //////////////////////////////////////////////////////////////////////////// -->

        <!-- START CONTENT -->
        <section id="content">

            <!--start container-->

                <iframe id="frameContainer" name="frameContainerName" class="framecontent" frameborder="0" height="1000px" width="100%" scrolling="auto" src=""></iframe>
            <!--end container-->
        </section>
        <!-- END CONTENT -->


    </div>
    <!-- END WRAPPER -->

</div>
<!-- END MAIN -->
<!-- START FOOTER -->
<div th:replace="public/footer :: html"></div>

<!-- Toast Notification -->
<script type="text/javascript">
    // Toast Notification
    $(window).load(function() {
        setTimeout(function() {
            Materialize.toast('<span>欢迎进入汽车零配件仓库管理系统.</span>', 1500);
        }, 3000);

        window.onresize = function () {
            var contentHeight = $(window).height() - $(".page-topbar").height() -$(".page-footer").height();
            $('#frameContainer').height(contentHeight);
        };
    });
    //初始化左边的菜单栏
    initLeftMenu();
    function initLeftMenu() {
        $('.leftside-navigation li').click(function () {
            $("#frameContainer").attr("src",$(this).find("a").attr("rel"));
        });
        $('.index-index').click(function () {
            // $('#frameContainer').attr('src',"/squarenavigationsys/back/calculateIndex");
        });
        $('.index-index').trigger('click');
    }

</script>
</body>

</html>
